﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SaleManagement.Entity;
using SaleManagement.Model;

namespace SaleManagement.Services.Mapping
{
    public static class LanguageMapping
    {
        public static Language ConvertToEntity(ViewModelLanguage model)
        {
            Language entity = new Language();
            entity.Id = model.Id;
            entity.Name = model.Name;
        
            return entity;
        }
    }
}
